package com.ruoyi.system.domain.module.wx;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.ibatis.type.JdbcType;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

/**
 * 用户地址对象 user_address
 *
 * @author ruoyi
 * @date 2021-08-24
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("user_address")
public class UserAddress implements Serializable {

    private static final long serialVersionUID=1L;


    /**
     * $column.columnComment
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private Integer propertyId;


    private Integer estateId;
    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 收件人姓名
     */
	@TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.VARCHAR)
    private String receiverName;

    /**
     * 收件人手机号
     */
	@TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.VARCHAR)
    private String phoneNum;

    /**
     * 邮编
     */
    private String zipCode;

    /**
     * 所在城市
     */
    private String provCity;

    /**
     * 地址
     */
	@TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.VARCHAR)
    private String address;

	/**
	 * 房屋编号
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED,jdbcType = JdbcType.VARCHAR)
    private String roomNo;


	/**
	 * 物业费缴纳的实用面积数
	 */
    private Double roomAreas;

    /**
     * 是否是默认 地址  0 -  不是默认  1 - 是默认
     */
    private Integer isDefault;

    /**
     * 状态 0 - 可用 1 - 不可用
     */
    private Integer state;

}
